package com.biz.primus.ms.depot.dao.repository;

import com.biz.primus.ms.base.jpa.repository.CommonJpaRepository;
import com.biz.primus.ms.depot.dao.po.FreightTemplate;

/**
 * FreightTemplateRepository
 *
 * @author JKLiues
 * @date 2017年11月03日
 */
public interface FreightTemplateRepository extends CommonJpaRepository<FreightTemplate, Long>, FreightTemplateDao {

    /**
     * 查找指定编码的物流
     *
     * @param freightCode 编码
     * @return FreightTemplate
     */
    FreightTemplate findByFreightCode(String freightCode);

}